<div class="container">            
    <!--Text Content-->
    <div class="content">
        <h1><?php echo $title; ?></h1>
        <?php echo $message; ?>
        <form method="post" action="<?php echo $action . '/' . $query->id; ?>">
            <div class="data">
                <table class="table table-unbordered">
                    <tr>
                        <td valign="top">Địa chỉ<span style="color:red;">*</span></td>
                        <td><input type="text" name="diachi" class="text" value="<?php echo $query->diachi; ?>"/>
                            <?php echo form_error('diachi'); ?>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">Điện thoại<span style="color:red;">*</span></td>
                        <td><input type="text" name="dienthoai" class="text" value="<?php echo $query->dienthoai; ?>"/>
                            <?php echo form_error('dienthoai'); ?>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">Fax<span style="color:red;">*</span></td>
                        <td><input type="text" name="fax" class="text" value="<?php echo $query->fax; ?>"/>
                            <?php echo form_error('fax'); ?>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">Email<span style="color:red;">*</span></td>
                        <td><input type="text" name="email" class="text" value="<?php echo $query->email; ?>"/>
                            <?php echo form_error('email'); ?>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>
                            <button type="submit" value="Save"> Cập nhật </button>
                        </td>
                    </tr>
                </table>
            </div>
        </form>
        <br />
        <?php echo $link_back; ?>
                            